package com.feeyo.monitor.service.imp;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.feeyo.monitor.domain.VehicleType;
import com.feeyo.monitor.mapper.VehicleTypeMapper;
import com.feeyo.monitor.service.VehicleTypeService;

@Service
public class VehicleTypeServiceImp implements VehicleTypeService {
	@Autowired
	VehicleTypeMapper vehicleTypeMapper;
	
	@Override
	public List<VehicleType> selectByUser(Map param) {
		return vehicleTypeMapper.selectByUser(param);
	}

    @Override
    public List selectByDept(List<String> deptList) {
        return vehicleTypeMapper.selectByDept(deptList);
    }

    @Override
    public String selectIdByName(String name) {
        return vehicleTypeMapper.selectIdByName(name);
    }

}
